radio-menu-item: Handle a !NULL group
authorEmmanuele Bassi <ebassi@linux.intel.com>
Mon, 5 Mar 2012 13:09:47 +0000 (13:09 +0000)
committerMatthias Clasen <mclasen@redhat.com>
Sun, 22 Mar 2015 06:10:37 +0000 (02:10 -0400)
commit955aed92272b88a72617cbadca6f3010920a4f1f
tree6d3b3d9382f593fe4768d3b611587868b3b08a32
parentc16acff3ea3a09c75541a02afad4b31096e55c2e
radio-menu-item: Handle a !NULL group

If we create a RadioMenuItem without a group, and then set a group, the
menu item will still be set as active, which means an inconsistently
drawn radio menu item - as the RadioMenuItem will set the active flag on
itself, but then it won't reset it when it gets a new group.

https://bugzilla.gnome.org/show_bug.cgi?id=671362
gtk/gtkradiomenuitem.c